﻿using System;
using System.Diagnostics;
using System.ServiceModel;
using System.Windows;

namespace Kurax.BoardGames.Client.Services {
    public partial class CommonServicesClient {
        public static CommonServicesClient Create() {
            Debug.Assert(Application.Current.Host.Source != null, "Application.Current.Host.Source != null");
            return new CommonServicesClient("BasicHttpBinding_ICommonServices", new EndpointAddress(new Uri(Application.Current.Host.Source, "/Services/CommonServices.svc")));
        }
    }
}
